<?php



class ConfigurationGroupMapBuilder {

	
	const CLASS_NAME = 'lib.model.map.ConfigurationGroupMapBuilder';

	
	private $dbMap;

	
	public function isBuilt()
	{
		return ($this->dbMap !== null);
	}

	
	public function getDatabaseMap()
	{
		return $this->dbMap;
	}

	
	public function doBuild()
	{
		$this->dbMap = Propel::getDatabaseMap('propel');

		$tMap = $this->dbMap->addTable('configuration_group');
		$tMap->setPhpName('ConfigurationGroup');

		$tMap->setUseIdGenerator(true);

		$tMap->addPrimaryKey('CONFIGURATION_GROUP_ID', 'ConfigurationGroupId', 'int', CreoleTypes::INTEGER, true, null);

		$tMap->addColumn('CONFIGURATION_GROUP_TITLE', 'ConfigurationGroupTitle', 'string', CreoleTypes::VARCHAR, true, 64);

		$tMap->addColumn('CONFIGURATION_GROUP_DESCRIPTION', 'ConfigurationGroupDescription', 'string', CreoleTypes::VARCHAR, true, 255);

		$tMap->addColumn('SORT_ORDER', 'SortOrder', 'int', CreoleTypes::INTEGER, false, null);

		$tMap->addColumn('VISIBLE', 'Visible', 'int', CreoleTypes::INTEGER, false, null);

	} 
} 